package com.hksj.em.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hksj.em.entity.IntelligentDispatching;
import com.hksj.em.query.IntelligentDispatchingQuery;
import com.hksj.em.vo.IntelligentDispatchingVO;
import com.hksj.em.vo.MaxAndMinTimeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IntelligentDispatchingMapper extends BaseMapper<IntelligentDispatching> {

    List<IntelligentDispatchingVO> queryIntelligentDispatchingRecord(@Param("query") IntelligentDispatchingQuery query);

    IntelligentDispatchingVO selectEntityById(String id);

    List<MaxAndMinTimeVo> selectMaxAndMintimeByRoomCodes(@Param("query") List<String> uniqueRoomCode);

}
